import requests

url = 'https://www.baidu.com'
proxies = { "http": "http://12.34.56.79:9527",
    "https": "https://12.34.56.79:9527", }

response = requests.get(url, proxies=proxies)

